package com.clw.service;

import com.clw.dataobject.SupplierInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Administrator on 2018-03-07.
 */
public interface SupplierInfoService {
    List<SupplierInfo> findAll();

    SupplierInfo save(SupplierInfo supplierInfo);

    void del(SupplierInfo supplierInfo);

    SupplierInfo findOne(Integer id);

    Page<SupplierInfo> findAll(String name, String phone, String status, Pageable pageable);

    Long getSize(String name,String phone,String status);

    List<SupplierInfo> findValid(Integer status);
}
